Part Number Hot Search : 
PJ20168 SP7072F3 AS4420 AO8808 ECCM9 74HCT74 SFH309PF TEA202
Product Description
Full Text Search
 

To Download M37516F8HP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
DESCRIPTION
The M37516F8HP is the 8-bit microcomputer based on the 740 family core technology. The M37516F8HP is designed for household products and office automation equipment and includes serial I/O functions, 8-bit timer, A-D converter, and I2C-BUS interface.
FEATURES
qBasic machine-language instructions ...................................... 71 qMinimum instruction execution time .................................. 0.5 s (at 8 MHz oscillation frequency) qMemory size Flash memory ............................................................... 32 Kbytes RAM ................................................................................ 1 Kbytes qProgrammable input/output ports ............................................ 40 qInterrupts ................................................. 17 sources, 16 vectors qTimers ............................................................................. 8-bit ! 4 qSerial I/O1 ................... 8-bit ! 1 (UART or Clock-synchronized) qSerial I/O2 ................................... 8-bit ! 1(Clock-synchronized) qMulti-master I2C-BUS interface (option) ...................... 1 channel qPWM ............................................................................... 8-bit ! 1 qA-D converter ............................................... 10-bit ! 8 channels qWatchdog timer ............................................................ 16-bit ! 1
qClock generating circuit ..................................... Built-in 2 circuits (connect to external ceramic resonator or quartz-crystal oscillator) qPower source voltage In high-speed mode .................................................. 4.0 to 5.5 V (at 8 MHz oscillation frequency) In high-speed mode .................................................. 2.7 to 5.5 V (at 4 MHz oscillation frequency) In middle-speed mode ............................................... 2.7 to 5.5 V (at 8 MHz oscillation frequency) In low-speed mode .................................................... 2.7 to 5.5 V (at 32 kHz oscillation frequency) qPower dissipation In high-speed mode .......................................................... 34 mW (at 8 MHz oscillation frequency, at 5 V power source voltage) In low-speed mode ............................................................. T.B.D. (at 32 kHz oscillation frequency, at 3 V power source voltage) qOperating temperature range .................................... -20 to 85C
APPLICATION
Office automation equipment, FA equipment, Household products, Consumer electronics, etc.
PIN CONFIGURATION (TOP VIEW)
P10/(LED0)
26
31
27
36
35
34
33
32
30
29
P35/AN5 P34/AN4 P33/AN3 P32/AN2 P31/AN1 P30/AN0 VCC VREF AVSS P47 P46 P45
28
25
P11/(LED1)
24 23 22 21 20
P01/SOUT2
P03/SRDY2
P02/SCLK2
P36/AN6
P37/AN7
P00/SIN2
P04
P05
P06
37 38 39 40 41 42 43 44 45 46 47 48
P07
P12/(LED2) P13/(LED3) P14/(LED4) P15/(LED5) P16/(LED6) P17/(LED7) VSS XOUT XIN RESET P20/XCOUT P21/XCIN
M37516F8HP
19 18 17 16 15 14 13
10
11
P41/INT0
P43/INT2/SCMP2
P44/INT3/PWM
P40/CNTR1
P27/CNTR0/SRDY1
P24/SDA2/RXD
P23/SCL1
P42/INT1
P22/SDA1
P26/SCLK
Package type : 48P6Q-A
Fig. 1 M37516F8HP pin configuration
P25/SCL2/TXD
CNVSS
12
1
2
3
4
5
6
7
8
9
1
2
Reset input
FUNCTIONAL BLOCK DIAGRAM
Sub-clock Sub-clock input output Main-clock Main-clock input output
RY INA IM REL P
XIN VSS RESET
15 12
XOUT XCIN XCOUT VCC CNVSS
43 18
FUNCTIONAL BLOCK
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
Fig. 2 Functional block diagram
CPU
16
17
13
14
Clock generating circuit
RAM
X
Prescaler 12 (8)
Flash memory
A Timer 2 (8) Timer X (8) Timer Y (8) Timer 1 (8) Y
Prescaler X (8)
S
CNTR0 Prescaler Y (8)
PCH PCL PS
CNTR1
Watchdog timer
Reset
0
A-D SI/O1(8) I2C (8)
converter
PWM (8)
SI/O2(8)
(1 0 )
XCIN XCOUT
INT0-INT3
P4(8) P3(8)
P2(8)
P1(8)
P0(8)
44 45 35 36 37 38 39 40 41 42
46 47 48 1 2 3 4 5
6 7 8 9 10 11 13 14
19 20 21 22 23 24 25 26
27 28 29 30 31 32 33 34
VREF AVSS
MITSUBISHI MICROCOMPUTERS
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
M37516F8HP
I/O port P 4 I/O port P3
I/O port P 2
I/O port P 1
I/O port P 0
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PIN DESCRIPTION
Table 1 Pin description Pin VCC, VSS CNVSS RESET XIN XOUT P00/SIN2 P01/SOUT2 P02/SCLK2 P03/SRDY2 P04-P07 P10/-P17 P20/XCOUT P21/XCIN P22/SDA1 P23/SCL1 P24/SDA2/RxD P25/SCL2/TxD P26/SCLK P27/CNTR0/ SRDY1 I/O port P1 I/O port P2 Name Power source CNVSS input Reset input Clock input Clock output Functions *Apply voltage of 2.7 V - 5.5 V to Vcc, and 0 V to Vss. *This pin controls the operation mode of the chip. *Normally connected to VSS. *Reset input pin for active "L." *Input and output pins for the clock generating circuit. *Connect a ceramic resonator or quartz-crystal oscillator between the XIN and XOUT pins to set the oscillation frequency. *When an external clock is used, connect the clock source to the XIN pin and leave the XOUT pin open. *8-bit CMOS I/O port. *I/O direction register allows each pin to be individually programmed as either input or output. *CMOS compatible input level. *CMOS 3-state output structure. *P10 to P17 (8 bits) are enabled to output large current for LED drive. * Sub-clock generating circuit I/O *8-bit CMOS I/O port. pins (connect a resonator) *I/O direction register allows each pin to be individually programmed as either input or output. *CMOS compatible input level. *P22 to P25 can be switched between CMOS compatible input level or SMBUS input level in the I2C-BUS interface function. *P20, P21, P24 to P27: CMOS3-state output structure. *P24, P25: N-channel open-drain structure in the I2CBUS interface function. *P22, P23: N-channel open-drain structure. P30/AN0- P37/AN7 P40/CNTR1 P41/INT0 P42/INT1 P43/INT2/SCMP2 P44/INT3/PWM P45-P47 I/O port P3 *8-bit CMOS I/O port with the same function as port P0. *CMOS compatible input level. *CMOS 3-state output structure. I/O port P4 *8-bit CMOS I/O port with the same function as port P0. *CMOS compatible input level. *CMOS 3-state output structure. * Interrupt input pin/SCMP2 output pin * Interrupt input pin/PWM output pin * Timer Y function pin * Interrupt input pins * A-D converter input pin * I2C-BUS interface function pins * Serial I/O2 function pin
Function except a port function
I/O port P0
* I2C-BUS interface function pin/ Serial I/O1 function pins * Serial I/O1 function pin * Serial I/O1 function pin/ Timer X function pin
3
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
FUNCTIONAL DESCRIPTION CENTRAL PROCESSING UNIT (CPU)
The M37516F8HP uses the standard 740 Family instruction set. Refer to the table of 740 Family addressing modes and machine instructions or the 740 Family Software Manual for details on the instruction set. Machine-resident 740 Family instructions are as follows: The FST and SLW instructions cannot be used. The STP, WIT, MUL, and DIV instructions can be used.
[CPU Mode Register (CPUM)] 003B16
The CPU mode register contains the stack page selection bit, etc. The CPU mode register is allocated at address 003B16.
b7
b0
CPU mode register
(CPUM : address 003B16)
Processor mode bits b1 b0 0 0 : Single-chip mode 0 1: 1 0: Not available 1 1: Stack page selection bit 0 : 0 page 1 : 1 page Fix this bit to "1". Port XC switch bit 0 : I/O port function (stop oscillating) 1 : XCIN-XCOUT oscillating function Main clock (XIN-XOUT) stop bit 0 : Oscillating 1 : Stopped Main clock division ratio selection bits b7 b6 0 0 : = f(XIN)/2 (high-speed mode) 0 1 : = f(XIN)/8 (middle-speed mode) 1 0 : = f(XCIN)/2 (low-speed mode) 1 1 : Not available
Fig. 3 Structure of CPU mode register
4
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MEMORY Special Function Register (SFR) Area
The Special Function Register area in the zero page contains control registers such as I/O ports and timers.
Interrupt Vector Area
The interrupt vector area contains reset and interrupt vectors.
Zero Page
Access to this area with only 2 bytes is possible in the zero page addressing mode.
RAM
RAM is used for data storage and for stack area of subroutine calls and interrupts.
Special Page
Access to this area with only 2 bytes is possible in the special page addressing mode.
Flash Memory
The first 128 bytes and the last 2 bytes of flash memory are reserved for device testing and the rest is user area for storing programs.
000016 004016 RAM 1024 bytes 010016
SFR area Zero page
044016 0FFD16 0FFF16 Flash memory 32 Kbytes 800016
Not used SFR area Not used Reserved memory area (128 bytes)
808016
FF0016 FFD416 FFDC16 Interrupt vector area FFFE16 FFFF16 Reserved memory area Flash memory ID code Special page
Fig. 4 Memory map diagram
5
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
000016 000116 000216 000316 000416 000516 000616 000716 000816 000916 000A16 000B16 000C16 000D16 000E16 000F16 001016 001116 001216 001316 001416 001516 001616 001716 001816 001916 001A16 001B16 001C16 001D16 001E16 001F16
Port P0 (P0) Port P0 direction register (P0D) Port P1 (P1) Port P1 direction register (P1D) Port P2 (P2) Port P2 direction register (P2D) Port P3 (P3) Port P3 direction register (P3D) Port P4 (P4) Port P4 direction register (P4D)
002016 002116 002216 002316 002416 002516 002616 002716 002816 002916 002A16 002B16 002C16 002D16 002E16 002F16 003016 003116
Prescaler 12 (PRE12) Timer 1 (T1) Timer 2 (T2) Timer XY mode register (TM) Prescaler X (PREX) Timer X (TX) Prescaler Y (PREY) Timer Y (TY) Timer count source selection register (TCSS)
I2C data shift register (S0) I2C address register (S0D) I2C status register (S1) I2C control register (S1D) I2C clock control register (S2) I2C start/stop condition control register (S2D) Reserved V
Reserved V Reserved V Reserved V Serial I/O2 control register 1 (SIO2CON1) Serial I/O2 control register 2 (SIO2CON2) Serial I/O2 register (SIO2) Transmit/Receive buffer register (TB/RB) Serial I/O1 status register (SIOSTS) Serial I/O1 control register (SIOCON) UART control register (UARTCON) Baud rate generator (BRG) PWM control register (PWMCON) PWM prescaler (PREPWM) PWM register (PWM)
003216 003316 003416 003516 003616 003716 003816 003916 003A16 003B16 003C16 003D16 003E16 003F16 A-D control register (ADCON) A-D conversion low-order register (ADL) A-D conversion high-order register (ADH) Reserved V MISRG Watchdog timer control register (WDTCON) Interrupt edge selection register (INTEDGE) CPU mode register (CPUM) Interrupt request register 1 (IREQ1) Interrupt request register 2 (IREQ2) Interrupt control register 1 (ICON1) Interrupt control register 2 (ICON2)
0FFD16 0FFE16 V Reserved : Do not write any data to the reserved area. 0FFF16
Reserved V Flash memory control register (FCON) Reserved V
Fig. 5 Memory map of special function register (SFR)
6
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
I/O PORTS
The I/O ports have direction registers which determine the input/ output direction of each individual pin. Each bit in a direction register corresponds to one pin, and each pin can be set to be input port or output port. When "0" is written to the bit corresponding to a pin, that pin becomes an input pin. When "1" is written to that bit, that pin becomes an output pin. If data is read from a pin which is set to output, the value of the port output latch is read, not the value of the pin itself. Pins set to input are floating. If a pin set to input is written to, only the port output latch is written to and the pin remains floating. Table 2 I/O port function Pin P00/SIN2 P01/SOUT2 P02/SCLK2 P03/SRDY2 P04-P07 P10/-P17 P20/XCOUT P21/XCIN P22/SDA1 P23/SCL1 Port P1 Port P2 CMOS compatible input level CMOS/SMBUS input level (when selecting I2C-BUS interface function) N-channel open-drain output CMOS compatible input level CMOS/SMBUS input level (when selecting I2C-BUS interface function) CMOS 3-state output N-channel open-drain output (when selecting I2C-BUS interface function) CMOS compatible input level CMOS 3-state output Sub-clock generating circuit I2C-BUS interface function I/O CPU mode register I2C control register (6) (7) (8) (9) Name Port P0 Input/Output Input/output, individual bits I/O Structure CMOS compatible input level CMOS 3-state output Non-Port Function Serial I/O2 function I/O Related SFRs Serial I/O2 control register Ref.No. (1) (2) (3) (4) (5)
P24/SDA2/RxD P25/SCL2/TxD
I2C-BUS interface function I/O Serial I/O1 function I/O
I2C control register Serial I/O1 control register
(10) (11)
P26/SCLK P27/CNTR0/ SRDY1 P30/AN0- P37/AN7 P40/CNTR1 P41/INT0 P42/INT1 P43/INT2/SCMP2 Port P3 Port P4
Serial I/O1 function I/O Serial I/O1 function I/O Timer X function I/O A-D conversion input Timer Y function I/O External interrupt input External interrupt input SCMP2 output
Serial I/O1 control register Serial I/O1 control register Timer XY mode register A-D control register Timer XY mode register Interrupt edge selection register Interrupt edge selection register Serial I/O2 control register Interrupt edge selection register PWM control register
(12) (13)
(14) (15) (16) (17)
P44/INT3/PWM
External interrupt input PWM output
(18)
P45-P47
(5)
7
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(1) Port P00
Direction register
(2) Port P01
P01/SOUT2 P-channel output disable bit Serial I/O2 transmit completion signal Serial I/O2 port selection bit
Data bus
Port latch
Direction register Data bus Port latch
Serial I/O2 input
Serial I/O2 output
(3) Port P02
P02/SCLK2 P-channel output disable bit Serial I/O2 synchronous clock selection bit Serial I/O2 port selection bit
(4) Port P03
SRDY2 output enable bit Direction register
Direction register Data bus Port latch Data bus
Port latch
Serial I/O2 clock output Serial I/O2 external clock input
Serial I/O2 ready output
(5) Ports P04-P07, P1, P45-P47
Direction register
(6) Port P20
Port XC switch bit Direction register Data bus
Data bus
Port latch
Port latch
Oscillator Port P21 Port XC switch bit
(7) Port P21
Port XC switch bit Direction register Data bus
(8) Port P22
I2C-BUS interface enable bit SDA/SCL pin selection bit Direction register Data bus
Port latch Port latch
Sub-clock generating circuit input SDA output SDA input
Fig. 6 Port block diagram (1)
8
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(9) Port P23
I2C-BUS interface enable bit SDA/SCL pin selection bit Direction register Data bus
(10) Port P24
I2C-BUS interface enable bit SDA/SCL pin selection bit Serial I/O1 enable bit Receive enable bit Direction register Data bus Port latch
Port latch
SCL output SCL input
SDA output
SDA input Serial I/O1 input
(11) Port P25
P-channel output disable bit Serial I/O1 enable bit Transmit enable bit I2C-BUS interface enable bit SDA/SCL pin selection bit
(12) Port P26
Serial I/O1 synchronous clock selection bit Serial I/O1 enable bit Serial I/O1 mode selection bit Serial I/O1 enable bit
Direction register
Direction register Data bus Port latch
Data bus
Port latch
Serial I/O1 output SCL output
SCL input
Serial I/O1 clock output External clock input
(13) Port P27
Pulse output mode
Serial I/O1 mode selection bit Serial I/O1 enable bit SRDY1 output enable bit
(14) Ports P30-P37
Direction register Data bus Port latch
Direction register
Data bus
Port latch
Pulse output mode A-D converter input Serial ready output Timer output
CNTR0 interrupt input
Analog input pin selection bit
(16) Ports P41, P42 (15) Port P40
Direction register Direction register
Data bus
Port latch
Data bus
Port latch
Pulse output mode Timer output CNTR1 interrupt input
Interrupt input
Fig. 7 Port block diagram (2)
9
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(17) Port P43
Serial I/O2 input/output comparison signal control bit
(18) Port P44
PWM output enable bit Direction register
Direction register Data bus Data bus Port latch Port latch
PWM output
Serial I/O2 input/output comparison signal output
Interrupt input Interrupt input
Fig. 8 Port block diagram (3)
10
RY INA IM REL P
MITSUBISHI MICROCOMPUTERS
. ion cat o cifi t spe bject u nal a fi are s not its is is ric lim Th et m ice: Not e para om e. S ng cha
M37516F8HP
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
PACKAGE OUTLINE
48P6Q-A
EIAJ Package Code LQFP48-P-77-0.50 JEDEC Code - Weight(g) - Lead Material Cu Alloy
Plastic 48pin 7!7mm body LQFP
MD
e
HD D
48 37
1
36
b2
I2 Recommended Mount Pad
Symbol HE A A1 A2 b c D E e HD HE L L1 Lp
A3
12
25
13
24
A F e A2 L1
y
b
L Detail F
Lp
x y b2 I2 MD ME
x
M
Dimension in Millimeters Min Nom Max - - 1.7 0.1 0.2 0 - - 1.4 0.17 0.22 0.27 0.105 0.125 0.175 6.9 7.0 7.1 6.9 7.0 7.1 - 0.5 - 8.8 9.0 9.2 8.8 9.0 9.2 0.35 0.5 0.65 1.0 - - 0.45 0.6 0.75 - 0.25 - - - 0.08 - - 0.1 - 0 8 - - 0.225 1.0 - - - - 7.4 - - 7.4
E
A1
HEAD OFFICE: 2-2-3, MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
Keep safety first in your circuit designs!
* Mitsubishi Electric Corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. Trouble with semiconductors may lead to personal injury, fire or property damage. Remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of non-flammable material or (iii) prevention against any malfunction or mishap.
Notes regarding these materials
* * * These materials are intended as a reference to assist our customers in the selection of the Mitsubishi semiconductor product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to Mitsubishi Electric Corporation or a third party. Mitsubishi Electric Corporation assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. All information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by Mitsubishi Electric Corporation without notice due to product improvements or other reasons. It is therefore recommended that customers contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for the latest product information before purchasing a product listed herein. The information described here may contain technical inaccuracies or typographical errors. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. Please also pay attention to information published by Mitsubishi Electric Corporation by various means, including the Mitsubishi Semiconductor home page (http://www.mitsubishichips.com). When using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. Mitsubishi Electric Corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. Mitsubishi Electric Corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. The prior written approval of Mitsubishi Electric Corporation is necessary to reprint or reproduce in whole or in part these materials. If these products or technologies are subject to the Japanese export control restrictions, they must be exported under a license from the Japanese government and cannot be imported into a country other than the approved destination. Any diversion or reexport contrary to the export control laws and regulations of Japan and/or the country of destination is prohibited. Please contact Mitsubishi Electric Corporation or an authorized Mitsubishi Semiconductor product distributor for further details on these materials or the products contained therein.
* *
* *
*
(c) 2000 MITSUBISHI ELECTRIC CORP. New publication, effective Feb. 2000. Specifications subject to change without notice.
c
A3
ME
REVISION HISTORY
Rev. No. 0.1 First Edition
M37516F8HP DATA SHEET
Revision Description Rev. date 2/3/00
(1/1)


▲Up To Search▲   

 
Price & Availability of M37516F8HP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X